package com.etc.service;


import com.etc.pojo.Favorite;
import com.etc.pojo.Video;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FavoritePersonageService {

    /**
     * 查询用户发布所有视频
     * @param userId
     * @return
     */
    PageInfo<Favorite> queryAllFavoriteByUserId(String userId, Integer pageNum);

    /**
     * 删除视频
     * @param favoriteId
     * @return
     */
    boolean deleteFavoriteByVideoId(Integer favoriteId);
}
